﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Plateforme_Stockage/PlateformeStockage.Master" AutoEventWireup="true" CodeBehind="BonsPreparations.aspx.cs" Inherits="DevelopmentPFR.Plateforme_Stockage.BonsPreparations" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenu" runat="server">
        <div class="row">
            <div class="form-group">
                <div class="col-sm-6">
                    <label for="inputNumCmd" class="control-label">NUMERO DE COMMANDE</label>
                </div>
                <div class="col-sm-4">
                    <asp:Label disabled="disabled" class="form-control" ID="referenceCommande" Text="11546"  runat="server"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-6">
                    <label for="inputDateCmd" class="control-label">DATE DE LA COMMANDE</label>
                </div>
                <div class="col-sm-4">
                    <asp:Label runat="server" ID="DateCmd" CssClass="form-control" disabled="disabled" />
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-6">
                    <label for="inputStatus" class="control-label" disabled="disabled">STATUS</label>
                </div>
                <div class="col-sm-4">
                    <asp:DropDownList runat="server" ID="filtreStatut" CssClass="form-control" disabled="disabled">
                    </asp:DropDownList>
                </div>
            </div>
        </div>
        <br/>
        <br/>
        <br/>
        <div class="row">
            <asp:GridView 
                ID="listeProduits" 
                runat="server" 
                AutoGenerateColumns="False" 
                OnRowDataBound="listeProduits_OnRowDataBound"
                CssClass="table table-bordered table-responsive" 
                AlternatingRowStyle-BackColor="#D7D7D7" 
                HeaderStyle-BackColor="#B0C1D0"
                >
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="reference" HeaderText="Référence" />
                        <asp:BoundField DataField="designation" HeaderText="Désignation" />
                        <asp:TemplateField HeaderText="Quantité à Commander" ItemStyle-Width="10%" >
                            <ItemTemplate>
                                <asp:TextBox ID="quantiteCommande" runat="server" onkeydown="return jsDecimals(event);" Width="70px" MaxLength="3"/>
                            </ItemTemplate>
                        </asp:TemplateField>  
                        <asp:BoundField DataField="quantiteAttendu" HeaderText="Quantité En Stock" ItemStyle-Width="10%"/>
                        <asp:BoundField DataField="PrixHtArticle" HeaderText="Prix HT" />
                    </Columns>
            </asp:GridView>
        </div>
</asp:Content>
